﻿using System;
using System.Collections.Generic;


namespace FinQ
{

    /// <summary>
    /// Sam's functional programming library. F'LINQ!
    /// </summary>
    
    // Predicate Function, Func<T, bool>, Filter
    public delegate bool Pred<T>(T x);

    // Conversion Function, Func<T, R>, Map
    public delegate R Conv<T, R>(T x);

    // Aggregate Function, Func<T, R, R>, Reduce
    public delegate R Agg<T, R>(T x, R init);
}